package demo.standard;

public class Proxy implements ITarget {

    private ITarget realTarget = new RealTarget();

    @Override
    public void useForClient() {
        System.out.println("开始使用代理对象");
        realTarget.useForClient();
        System.out.println("结束使用代理对象");
    }
}
